const db = require('../config/database');

class AnchorService {
    // 主播审核
    async auditAnchor(anchorIds, isPass) {
        // TODO: 实现主播审核的逻辑
        return true;
    }

    // 获取主播列表
    async getAnchorList(query) {
        // TODO: 实现获取主播列表的逻辑
        const { page = 1, page_size = 10, name, anchor_id } = query;
        return {
            list: [],
            total: 0
        };
    }
}

module.exports = new AnchorService();